home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 25
/
AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso
/
Demoversionen
/
Anwendungen
/
TCom2Demo
/
Installa
< prev
next >
Wrap
Text File
|
2000-05-02
|
1KB
|
54 lines
;
; $VER: Script di Installazione di TurboCommesse v2 (c) David Lo Buglio (02.05.00)
;
(set @default-dest "Work:")
(set #wrongOS "TurboCommesse necessita dell'OS2.0 o superiore\n")
(set #TGest_dir (cat "Scegli il cassetto o la partizione\n"
"dove installare il cassetto TGest.\n\n"
"Se il cassetto esiste già, allora seleziona\n"
"il cassetto o la partizione che lo contiene\n"))
(set #done (cat "\nTurboCommesse è stato installato con successo.\n\n"))
(set OS_ver (getversion "exec.library" (resident)))
(if (< OS_ver (* 37 65536)) (abort #wrongOS))
(complete 0)
(set TGest_def_dir @default-dest)
(set TGest_dir
(askdir
(default TGest_def_dir)
(prompt #TGest_dir)
(help @askdir-help)
)
)
(set TGest_dir (tackon TGest_dir "TGest"))
(if (not (exists TGest_dir))
(makedir TGest_dir (infos))
)
(if (NOT (exists (tackon TGest_dir "Doc")))
(
(makedir (tackon TGest_dir "Doc") (infos))
)
)
(complete 20)
(set Doc_dir (tackon TGest_dir "Doc"))
(copyfiles (source "TCom2DEMO") (dest TGest_dir) (infos) (help @copyfiles-help))
(complete 90)
(copyfiles (source "Doc/") (dest Doc_dir) (all) (help @copyfiles-help))
(complete 100)
(message #done "\"" TGest_dir "\"")
(exit (QUIET))